Adding IDEA encryption algorithm
================================

Due to patent problems, we don't deliver gpg with the IDEA encryption, but
there exists a module to add this functionality.  If you have legal right
to use IDEA, follow these instructions to add IDEA encryption.

Pre-requisite: you need Apple Developer Tools, and Admin rights

1) First, you must have gpg installed, with dynamic module loading enabled.
Easy Install GnuPG r5 provides such a functionality.


2) You need to download the source code for IDEA:

curl -O http://www.gnupg.dk/contrib-dk/idea.c.gz
curl -O http://www.gnupg.dk/contrib-dk/idea.c.gz.sig
gpg --verify idea.c.gz.sig
gunzip idea.c.gz


3) Patch idea.c

mv idea.c idea-original.c
sed "s%typedef unsigned short ushort;%//typedef unsigned short ushort;%" \
< idea-original.c > idea.c


4) Now you can compile IDEA module and install it:

sudo cc -D__PPC__ -Wall -O2 -o /usr/local/lib/gnupg/idea idea.c -bundle \
 -bundle_loader /usr/local/bin/gpg


5) You need to enable IDEA in gpg.  You can do this in GPGPreferences under
the Extensions tab or at the command line:

echo "" >> ~/.gnupg/options
echo "load-extension idea" >> ~/.gnupg/options


6) You can check that IDEA is working:

gpg --version

================================
version 1.2
Written by Stephane Corthesy
Edited by Gordon Worley
